<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<fmt:setBundle basename="messages.clave"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><title>GPS-o&ugrave;</title>


  
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <script type="text/JavaScript">
<!--
function envia() {
        if (document.form1.usuario.value=="") {
                alert('<fmt:message key="msg.1"/>');
                document.form1.usuario.focus();
                return false;
        } else if (document.form1.email.value=="") {
                alert('<fmt:message key="msg.2"/>');
                document.form1.email.focus();
                return false;
        } else if (document.form1.email.value.match("(^[0-9a-zA-Z]+(?:[._][0-9a-zA-Z]+)*)@([0-9a-zA-Z]+(?:[._-][0-9a-zA-Z]+)*\\.[0-9a-zA-Z]{2,3})$")==null) {
                alert('<fmt:message key="msg.3"/>');
                document.form1.email.focus();
                return false;
        } else {
                return true;
        }
}

//-->
  </script>

<style type="text/css">

  a {color: black}
  p.tittle {color: black;
		text-align: center;
		font-size: xx-large;
		font-weight: bold}
  p.campos {color: black;
		font-weight: bold}
  p.link {color: black}
  p.title2 {color:black; font-size:large; font-weight: bold}


</style>

</head>

<body onload="document.form1.usuario.focus();">
<div style="text-align: center">
<form name="form1" action="/VEGPS/ServletGoogleGPS" method="post" onsubmit="return envia()">
 <p> <input type="hidden" name="p" value="recordarClave"></p>
<table border="0" style="margin-left: auto; margin-right: auto">
	<tr>
		<td style="background: #FFFFCC">
		<p class="title2"><fmt:message key="text"/></p>

    <table>
	 <tbody><tr align="right">
		<td valign="middle"><p class="campos"><fmt:message key="user"/> </p></td>
		<td align="left" valign="middle"><input name="usuario" title="<fmt:message key="user.title"/>" size="12" maxlength="12" onchange="document.form1.email.focus();" type="text"> </td>
	 </tr>
	 <tr align="right">
		<td valign="middle"><p class="campos"><fmt:message key="email"/></p></td>
		<td align="left" valign="middle"><input name="email" title="<fmt:message key="email.title"/>" size="50" maxlength="255" type="text"> </td>
	 </tr>
	 <tr align="center">
		<td> </td>
		<td align="left" valign="middle"><input title="<fmt:message key="button.title"/>" value="<fmt:message key="button"/>" type="submit"></td>
	 </tr>
	
  </tbody></table>

  		</td>
		<td><img src="/VEGPS/html/images/GPSou-logo.png" width="530" height="303" alt="GPS-o&ugrave;"></td>
	</tr>
	<tr>
		<td colspan="2">
  <br>
  <a title="<fmt:message key="link.title"/>" href="http://www.gpsou.es/VEGPS/jsp/index.jsp"><fmt:message key="menu"/></a>
  </td>
	</tr>
	<tr>
		<td colspan="2">&nbsp;<p>
    <a href="http://validator.w3.org/check?uri=referer"><img src="/VEGPS/html/images/valid-html401.png" alt="Valid HTML 4.01 Strict" height="31" width="88"></a></td>
	</tr>
</table>
</form>
</div>

</body></html>
